#ifndef HTTPMESSAGE_H
#define HTTPMESSAGE_H
#include <map>
#include <string>
using std::map;
using std::string;

class HTTPMessage{

	public:
		typedef map<string, string> HEADER_T;
		typedef HEADER_T::iterator HEADER_ITER_T;
		typedef HEADER_T::const_iterator HEADER_CONST_ITER_T;
		const static string ATTR_NOT_FOUND;
		
	protected:
		HTTPMessage();
		HEADER_T header_;
	public:
		virtual ~HTTPMessage();
		virtual string Get(const string& attrName);
		virtual string operator [](const string& attrName);
};

#endif
